package edu.ncet.desktop.shared;

import com.extjs.gxt.ui.client.data.BaseModel;

public class BarChartResultModel extends BaseModel{

		private static final long serialVersionUID = 1L;
		
		public BarChartResultModel(Integer type, String result) {
			set("value",type);
			set("label",result);
		}
		
		public Integer getValue(){
			return (Integer)get("value");
		}
		
		public String getLabel(){
			return (String)get("label");
		}
		
		public void setValue(Integer type){
			set("value",type);
		}
		
		public void setLabel(String result){
			set("label", result);
		}

}
